export interface HomeState {
  title: string
}

const state: HomeState = {
  title: 'hello',
}

const getters = {}

const actions = {}

const mutations = {
  setHomeTitle(state: HomeState, data: string) {
    // eslint-disable-next-line no-param-reassign
    state = Object.assign(state, data)
  },
}

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations,
}
